package com.yisu.auction.api.domain.vo.PrizePackageVos;

import java.math.BigDecimal;

/**
 * author: 黄萧林
 * Business Description：
 * createTime：2017/8/22
 */
public class PrizeInformationVo {

    private BigDecimal transactionPrice;
    private String name;
    private String image;

    public BigDecimal getTransactionPrice() {
        if(transactionPrice==null)
            return BigDecimal.valueOf(0);
        return transactionPrice;
    }

    public void setTransactionPrice(BigDecimal transactionPrice) {
        this.transactionPrice = transactionPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "PrizeInformationVo{" +
                "transactionPrice=" + transactionPrice +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                '}';
    }
}
